import Layout from '@/sheep/layouts/index.vue';

export default {
  path: '/chat/admin',
  name: 'chat.admin',
  component: Layout,
  meta: {
    title: '客服管理',
  },
  children: [
    {
      path: 'config',
      name: 'chat.admin.config',
      component: () => import('@/app/chat/views/config.vue'),
      meta: {
        title: '客服配置',
      },
    },
    {
      path: 'commonword',
      name: 'chat.admin.commonword',
      component: () => import('@/app/chat/views/commonWord/index.vue'),
      meta: {
        title: '常用语',
      },
    },
    {
      path: 'question',
      name: 'chat.admin.question',
      component: () => import('@/app/chat/views/question/index.vue'),
      meta: {
        title: '常见问题',
      },
    },
    {
      path: 'customerservice',
      name: 'chat.admin.customerservice',
      component: () => import('@/app/chat/views/customerService/index.vue'),
      meta: {
        title: '客服列表',
      },
    },
    {
      path: 'user',
      name: 'chat.admin.user',
      component: () => import('@/app/chat/views/user/index.vue'),
      meta: {
        title: '会话管理',
      },
    },
  ],
};
